package com.jhs.boot.system.converter;

import com.jhs.boot.system.model.vo.NodeStatistic;
import com.jhs.boot.system.model.vo.NodesThirdVO;
import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jhs.boot.system.model.entity.SysNodesTraffic;
import com.jhs.boot.system.model.form.SysNodesTrafficForm;

import java.util.List;

/**
 * 节点流量对象转换器
 *
 * @author zxy
 * @since 2025-08-11 19:21
 */
@Mapper(componentModel = "spring")
public interface SysNodesTrafficConverter{

    SysNodesTrafficForm toForm(SysNodesTraffic entity);

    SysNodesTraffic toEntity(SysNodesTrafficForm formData);

    SysNodesTraffic nodesBeantoEntity(NodesThirdVO nodesBean);

    List<NodesThirdVO> toListEntity(List<SysNodesTraffic> list);

    NodeStatistic toNodeStatisticVO(SysNodesTraffic sysNodesTraffic);
}